export default (state = {}, action) => {
  switch (action.type) {
    case 'SETUSERINFO':
      state.userInfo = action.payload
      return state

    default:
      return state
  }
}
